package com.donquijote.proxy02;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-28 12:28
 */
public class service {

    public boolean login(String username,String password){

        System.out.println("          登录判断中...");
        if (username.equals("admin") && password.equals("123")) {
            return true;
        }
        return false;
    }

    public String logout(){
        System.out.println("          正在退出账户...");

        return "退出登录";
    }

}
